<?php
/**
 * xushuhui
 * 2017/8/4
 * 16:52
 */

namespace app\index\model;

class Reward extends BaseModel
{
    public function user()
    {
        return $this->belongsTo('User', 'uid');
    }

    public function wxuser()
    {
        return $this->hasOne('Wxuser', 'uid', 'uid');
    }
}
